package com.xuyu.mapper;

import com.xuyu.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import javax.validation.constraints.Past;

/*
user_info表的mapper接口：

 */
public interface UserMapper {
    //根据账号查询用户的信息
   // @Select("SELECT * FROM user_info WHERE user_code = #{code}")
    //根据用户名查找用户的方法
    public User findUserByCode(String userCode);
}
